﻿using _00.Common;
using SimpleRPC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _01.Server
{
    class Program
    {
        static void Main(string[] args)
        {
            RpcServer rpcServer = new RpcServer(9900);
            rpcServer.RegisterService<IHello, Hello>();
            rpcServer.Start();

            Console.WriteLine("rpc server started.");
            Console.ReadLine();
        }
    }
}
